#include <iostream>
using namespace std;
int main()
{
	int a=10;
	int &b=a;
	cout << a << endl;
	cout << b << endl;
	cout << &a << endl;
	cout << &b << endl;
	b+=30;
	cout << a << endl;


	return 0;
}
